pull: Support --mirror option
authorColin Walters <walters@verbum.org>
Mon, 16 Jun 2014 21:11:50 +0000 (17:11 -0400)
committerColin Walters <walters@verbum.org>
Mon, 16 Jun 2014 21:14:13 +0000 (17:14 -0400)
commit6a5e66b1521a153d0d3b6a27999c8a320be855fa
treef6e21ba20c4ead3c40f91b5ff885cc40b55cc770
parent4ac27caefd30aa10f2a82cc38bf9e8df095619e0
pull: Support --mirror option

There's several use cases for calling into ostree itself to do
mirroring, instead of using bare rsync.  For example, it's a bit more
efficient as it doesn't require syncing the objects/ directory.

https://bugzilla.gnome.org/show_bug.cgi?id=728351
src/libostree/ostree-repo-pull.c
src/libostree/ostree-repo.h
src/ostree/ot-builtin-pull.c
tests/pull-test.sh